<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>HOME</title>
  <link rel="stylesheet" href="assets/css/style.css">
  <link rel="stylesheet" href="assets/css/bootstrap.min.css">
  <script src="assets/js/jquery.js"></script>
  <script src="assets/js/bootstrap.min.js"></script>
</head>
<body>
<div th:include="pub_head"></div>
  <!-- 内容 -->
  <div class="container_one ">
      <div class="container_box flex center">
        <dl th:each="user:${modules[2].banners}" th:onclick="'detailFun(' + ${user.id} + ')'">
          <dt><img th:src="${user.imgUrl1}" alt=""></dt>
          <dd>
            <h3>[[${user.title}]]</h3>
            <p>[[${user.description}]]</p>
            <p>[[${user.b1}]]<span>[[${user.b2}]]</span> </p>
          </dd>
        </dl>
      </div>
  </div>
  <!-- 关于我们 -->
  <div class="container_tow same">
      <div class="tow_title center">
        <h3>[[${modules[3].module.title}]]</h3>
        <p class="bor"></p>
        <p class="notes">[[${modules[3].module.description}]]</p>
      </div>
      <div class="two_cont flex center">
        <dl class="two_conts" th:each="user1:${modules[3].banners}" th:onclick="'detailFun(' + ${user1.id} + ')'">
          <dt><img th:src="${user1.imgUrl1}" alt=""></dt>
          <dd>
            <h3>[[${user1.title}]]</h3>
            <p>[[${user1.description}]]</p>
          </dd>
        </dl>
      </div>
      <div class="two_butt center">
        <button>[[${modules[4].module.title}]]</button>
      </div>
  </div>
  <!-- Curabitur -->
  <div class="container_baner same">
      <img th:src="${modules[4].banners[0].imgUrl1}" alt="">
  </div>
  <!-- SERVICES -->
  <div class="container_three same">
      <div class="tow_title center">
        <h3>[[${modules[5].module.title}]]</h3>
        <p class="bor"></p>
        <p class="notes">[[${modules[5].module.description}]]</p>
      </div>
      <div class="three_cont center flex">
        <dl th:each="user2:${modules[5].banners}" th:onclick="'detailFun(' + ${user2.id} + ')'">
          <dt><img th:src="${user2.imgUrl1}" alt=""></dt>
          <dd class="three_tit">[[${user2.title}]]</dd>
          <dd class="three_tits">[[${user2.description}]]</dd>
        </dl>
      </div>


  </div>
  <!-- Curabitur -->
  <div class="container_baner same">
      <img th:src="${modules[4].banners[0].imgUrl1}" alt="">
  </div>
  <!-- latest News -->
  <div class="container_four same">
      <div class="four_cont center flexs">
        <div class="four_left">
          <div class="four_lefttop flex">
            <img th:src="${modules[6].banners[0].imgUrl1}" alt="">
            <div class="four_introduce">
              <h4>
                [[${modules[6].banners[0].title}]]
              </h4>
              <p class="four_col">
                [[${modules[6].banners[0].b1}]]
                <span>[[${modules[6].banners[0].b2}]]</span>
                [[${modules[6].banners[0].b3}]]
              </p>
              <p>[[${modules[6].banners[0].description}]]</p>
            </div>
          </div>
          <div class="four_leftBottom flex">
            <div class="four_name">
              <img th:src="${modules[6].banners[1].imgUrl1}" alt="">
              <h4>[[${modules[6].banners[1].title}]]
              </h4>
            </div>
            <div class="four_name ">
              <img th:src="${modules[6].banners[2].imgUrl1}" alt="">
              <h4>[[${modules[6].banners[2].title}]]
              </h4>
            </div>
            <div class="four_name">
              <img th:src="${modules[6].banners[3].imgUrl1}" alt="">
              <h4>[[${modules[6].banners[3].title}]]
              </h4>
            </div>
          </div>
        </div>
        <div class="four_right">
          <h2>[[${modules[7].module.title}]]</h2>
          <div class="progress">
            <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 50%">
              <span class="sr-only">[[${modules[7].module.description}]]</span>
            </div>
          </div>
          <ul>
            <li th:each="user3:${modules[7].banners}">
              <a href="#">[[${user3.title}]]
              </a>
            </li>
          </ul>
        </div>
      </div>
  </div>

  <div th:replace="pub_footer"></div>

  <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>

  <script type="text/javascript">

    function detailFun(id){
      window.location.href = `cms_detail?id=${id}`;
    }



  </script>

</body>
</html>
